package com.huawei.bdsolution.loadsmetric.entity;

public class Worker {

    private String host;

    private String name;

    private String passwd;

    public Worker(String host) {
        this.host = host;
    }

    public Worker(String host, String name, String passwd) {
        this.host = host;
        this.name = name;
        this.passwd = passwd;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    @Override
    public String toString() {
        return host;
    }
}
